package com.cskaoyan.config.shiro;

import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @Description: 继承UsernamePasswordToken 添加一个字段
 * 判断是admin传来的token还是wx user传来的token
 * @Author: WD created on 2021-09-19 20:34
 * @Version:
 */

@Data
public class MallToken extends UsernamePasswordToken {
    String type;

    public MallToken(String username, String password, String type) {
        super(username, password);
        this.type = type;
    }
}
